package main

import (
	"log"
	"net"
)

func main() {
	sListen, err := net.Listen("tcp", ":10000")
	if err != nil {
		log.Println("Listen error:", err.Error())
		return
	}
	for {
		c, _ := sListen.Accept()
		log.Println("Local:", c.LocalAddr().String(), ", Remote:", c.RemoteAddr().String())
	}

}
